<template>
  <div>大儿子</div>
  <div>依赖注入获得的值{{articelId}}</div>
  <twoComVue></twoComVue>
</template>

<script setup>
import twoComVue from './twoCom.vue';
import { inject } from 'vue';
const articelId = inject('articelId')
</script>